package com.jacobson.huobi.di.modules

import com.jacobson.core.di.annotation.ActivityScope
import com.jacobson.huobi.mvp.contract.ContactUsContract
import com.jacobson.huobi.mvp.contract.KycAuthContract
import com.jacobson.huobi.mvp.model.ContactUsModel
import com.jacobson.huobi.mvp.model.KycAuthModel
import com.jacobson.huobi.mvp.presenter.ContactUsPresenter
import com.jacobson.huobi.mvp.presenter.KycAuthPresenter
import dagger.Module
import dagger.Provides

@Module
class ContactUsActivityModule(
    private val view: ContactUsContract.View
) {
    @Provides
    @ActivityScope
    fun provideView() = view

    @Provides
    @ActivityScope
    fun providePresenter(presenter: ContactUsPresenter): ContactUsContract.Presenter = presenter

    @Provides
    @ActivityScope
    fun provideModel(model: ContactUsModel): ContactUsContract.Model = model

}